package cn.shengchao.examstar.ai.acl.ports;

import cn.shengchao.examstar.knowledge.domain.entity.KnowledgePoint;

import java.util.List;

/**
 * 知识点服务接口
 * 作为防腐层端口，屏蔽外部知识点服务实现的细节
 */
public interface IKnowledgePointService {
    
    /**
     * 根据类目ID获取知识点列表
     * 
     * @param specificationTypeId 类目ID
     * @return 知识点列表
     */
    List<KnowledgePoint> getKnowledgePointsBySpecificationType(Long specificationTypeId);
    
    /**
     * 获取知识点叶子节点
     * 
     * @param specificationTypeId 类目ID
     * @return 叶子节点列表
     */
    List<KnowledgePoint> getKnowledgeLeafNodesBySpecificationType(Long specificationTypeId);
} 